import instance from '../utils/request.js'

// 获取验证码
export const getEmailCode = (email) => instance.post('/user/code', { email })

// 用户登录
export const loginByEmail = (email) => instance.post('/user/login', { email })
